package com.situ.day3;

import org.junit.Test;

public class OOPDemo {
    @Test
    public void test1() {
        Student student1 = new Student();
        //student.id = 1;
        student1.setId(1);
        student1.setName("zhangsan");
        student1.setAge(223);
        student1.setGender("男");
        System.out.println(student1);

        Student student2 = new Student(2, "lisi", 21, "男");
        System.out.println(student2);
    }
}
